import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 列表查询
export const getList = (params) => axios.post(`${SERVER.RETAIL}/inventoryManage/listRecord`, params)
// 导出
export const exportOem = (params) => axios.post(`${SERVER.RETAIL}/inventoryManage/exportDLR`, params,{responseType:'blob'})
// 车辆配置五级选择
export const vehicleConfiguration = (id, params) => axios.get(`${SERVER.BASEDATA}/vehicleProduct/productInfo/productTreeNew`, { params: { type: id, level: 6, ...params } });
// 仓库列表
export const getWarehouseList = (params) => axios.get(`${SERVER.RETAIL}/ttVsDeliveryOrder/getWarehouseList`, {params})


// / 导出
export const exporturl = params => axios.post(`/api/cmscloud.excel/downloadExcel/exportExcel/${params.CODE}`, params);
